/*--------------button.scss-------------------------*/
.btn{
    font-weight: normal;
    border-radius:$btn-border-radius;
    outline: none!important;
    border:none!important;
    padding:0!important;margin:0;
    height:30px!important;
    line-height:30px!important;
    font-size:12px;
    color:#fff;
    font-family: "Microsoft Yahei";
}
.btn:hover{
    color:#fff;
}
.loginBtn{
    width:350px;
    height:34px!important;
    line-height:34px!important;
    font-size:16px;
    letter-spacing: 1em;
    border-radius:0!important;
    background:#30a3f0;
    margin-top:5%;
}
.registerBtn{
    border:1px solid #30a3f0;
    display: block;
    background-color:transparent;
    color:#fff;
    text-align:center;
    margin-bottom:20px;
}
.registerBtn:hover{
    background:#30a3f0;
    color:#fff;
}
.grid-btn{
    width:25px;
    height:25px!important;
    line-height:25px!important;
    margin:2px 15px 3px 0;
    font-size:12px;
    color:#464a52;
    border-radius:50%;
    display:inline-block!important;
    background-color:transparent!important;
    outline: none!important;
    border:none!important;
    i{
        font-size:12px;
    }
}
/*.grid-btn:hover{
    color:#fff;
}*/
.btn-link{
    color: $text-color;
    &.active{
        -webkit-box-shadow:none;
        box-shadow:none;
    }
}
//color
td .btn-default{
    background-color:#fff;
    color:#333;
}
.btn-default,.btn-primary{
    background-color:$btn-primary;
}
.btn-default:hover,.btn-primary:hover{
    background-color:$btn-primary-hover;
}
.btn-success{
    background-color:$btn-success;
}
.btn-success:hover{
    background-color:$btn-success-hover;
}
.btn-warning{
    background-color:$btn-warning;
}
.btn-warning:hover{
    background-color:$btn-warning-hover;
}
.btn-danger{
   background-color:$btn-danger;
}
.btn-danger:hover{
    background-color:$btn-danger-hover;
}

.disabled,.btn.disabled, .btn[disabled], fieldset[disabled] .btn{
    background-color:$btn-disabled!important;
    pointer-events:auto!important;
    cursor: not-allowed!important;
}
//grid-btn
.ui-grid-row:hover .primary-bg{
    background-color:$btn-primary!important;
    color:#fff;
}
.ui-grid-row:hover .success-bg{
    background-color:$btn-success!important;
    color:#fff;
}
.ui-grid-row:hover .warning-bg{
    background-color:$btn-warning!important;
    color:#fff;
}
.ui-grid-row:hover .danger-bg{
    background-color:$btn-danger!important;
    color:#fff;
}

//size
.btn-sm{
    width:60px;

}
.btn-normal{
    width:70px;
}
.btn-lg{
    width:90px;
}
.btn-addon{
    text-align:left;
    i{
        width:30px;
        height:30px;
        line-height:30px;
        text-align: center;
        float: left;
        position: relative;
    }
}

//icon
.iconfont.icon-xinzeng,.iconfont.icon-zuofei{
    font-size:14px;
}
.iconfont.icon-shanchu{
    font-size:10px;
    width:26px;
}
.iconfont.icon-zuofei{
    width:28px;
}
.glyphicon.glyphicon-calendar{
    color:#333;
}
.btn-group.dropdown{
    .dropdown-menu{
        width:120px;
        -moz-box-shadow:0px 4px 15px #ccc;
        -webkit-box-shadow:0px 4px 15px #ccc;
        box-shadow:0px 4px 15px #ccc;
        margin:0;
        padding:0;
        border:none;
        li{
            height:30px;
            line-height:30px;
            padding-left:10px;
            text-align:left;
            font-size:12px;
            color:#666;
            border:1px solid $grid-line;
            i{margin-right:5px;}
            &:not(:nth-last-child(1)){
                border-bottom:none;
            }
        }
    }
}


/*--------------button.scss-------------------------*/
